import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import './utils/flexible.js'

// 引入vant
import 'vant/lib/index.css'

const app = createApp(App)
// 全局注册Vant组件
import { 
  Button, 
  Cell, 
  CellGroup, 
  Icon, 
  Tag, 
  Field, 
  Form, 
  Popup, 
  Picker, 
  TimePicker, 
  Progress, 
} from 'vant'

app.use(Button)
app.use(Cell)
app.use(CellGroup)
app.use(Icon)
app.use(Tag)
app.use(Field)
app.use(Form)
app.use(Popup)
app.use(Picker)
app.use(TimePicker)
app.use(Progress)

app.mount('#app')
